<admintpl file="header"/>
<body class="J_scroll_fixed">
	<style>
		.col-right {overflow: hidden;margin-left: 6px;}
		.col-auto {overflow: auto;_zoom: 1;_float: left;}
		.jypt_img{text-align: center;float: left;}
		.jypt_img img{width: auto;height: 39px;} 
		.ss label{display: block;margin-bottom: 5px;float: left;margin-right: 20px;}
		.ssx{float: left;}
		.del{display: none;float: left;margin-left: 18px;}
		.sx input{float: left;}
		.sx span{float: left;line-height: 39px;}
		.sx:hover .del{display: block;}
	
		
	</style>
	
	<div class="wrap J_check_wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:leuu('Ptxq/IndexAdmin/index')}">平台列表</a></li> 
			<li class="active"><a>编辑品种</a></li>
		</ul>
		<form name="myform" id="myform" action="{:leuu('Ptxq/IndexAdmin/edit_pz')}" method="post" class="form-horizontal J_ajaxForms" enctype="multipart/form-data">
			
			<div class="col-auto">
				<div class="table_full">
					<table class="table table-bordered">
						<tr>
							<th width="90">交易平台</th>
							<td>
								{$Ptxq.name}
								<input type="hidden" name="id" id="id" value="{$jypz.id}" />
							</td>
						</tr>
						<tr>
							<th width="90">交易品种 </th>
							<td>
								<input type="text" style="width:400px;" name="jypz" id="title" required value="{$jypz.jypz}" style="color:" class="input input_hd J_title_color"  onkeyup="strlen_verify(this, 'title_len', 160)" />
								<span class="must_red">*</span>
							</td>
						</tr>
						<tr>
							<th width="90">交易品种表名</th>
							<td>
								<input type="text" style="width:400px;" name="jypz_bm" id="title" required value="{$jypz.jypz_bm}" style="color:" class="input input_hd J_title_color"  onkeyup="strlen_verify(this, 'title_len', 160)" />
								<span class="must_red">*</span>
							</td>
						</tr>
						<foreach name="jypzsx" item="v">
							<tr>
							<th width="90">{$v.sx_mc}</th>
							<td class="sx">
								<input type="text" style="width:400px;" name="{$v.id}" id="{$v.id}" required value="{$v.sx_value}" style="color:" class="input input_hd J_title_color"  onkeyup="strlen_verify(this, 'title_len', 160)" />
								<span class="must_red"><span>* &nbsp;&nbsp;&nbsp;排序：</span><input type="text" name="sort_{$v.id}" id="sort_{$v.id}" value="{$v.sort}" style="width: 36px;"/><a class="del" href="{:leuu('Ptxq/IndexAdmin/edit_pz',array('pt_id'=>$Ptxq['id'],'pz_id'=>$jypz['id'],'sx_id'=>$v['id']))}">编辑</a>  <a class="del" href="{:leuu('Ptxq/IndexAdmin/del_pzsx',array('id'=>$v['id']))}">删除</a> </span>
							</td>
						</tr>
						</foreach>
						<tr>
						
							<td colspan="2" style="color: red;font-size: 16px;font-weight: 800;">
								多列数据请用||隔开，例：0||0||0    常用标签: <?php
							$str = "<br>";
							echo htmlspecialchars($str);
							?>
							</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>
			<div class="form-actions">
				<button class="btn btn-primary btn_submit J_ajax_submit_btn" type="submit">提交</button>
				<a class="btn" href="javascript:history.go(-1);">返回</a>
			</div>
		</form>
		<div style=" width: 35%;float:left;">
			<form name="myform" id="myform" action="{:leuu('Ptxq/IndexAdmin/add_pzsx')}" method="post" class="form-horizontal J_ajaxForms" enctype="multipart/form-data">
			<input type="hidden" name="jypz_id" id="jypz_id" value="{$jypz.id}" />
			
			<div class="col-auto">
				<div class="table_full">
					<table class="table table-bordered" style="width: 100%;">
						<tr>
							<td colspan="2" style="color: red;font-size: 16px;font-weight: 800;">
								请自行添加属性
							</td>
						</tr>
						<tr>
							<th width="90">品种属性 </th>
							<td>
								<input type="text" style="width:400px;" name="sx_mc" id="sx_mc" required value="" style="color:" class="input input_hd J_title_color"  onkeyup="strlen_verify(this, 'title_len', 160)" />
								
								<span class="must_red">*</span>
							</td>
						</tr>
						
					
						</tbody>
					</table>
				</div>
			</div>
			<div class="form-actions">
				<button class="btn btn-primary btn_submit J_ajax_submit_btn" type="submit">提交</button>
				<a class="btn" href="javascript:history.go(-1);">返回</a>
			</div>
		</form>
		</div>
		<div style=" width: 35%;float:left;margin-left: 100px;">
			<form name="myform" id="myform" action="{:leuu('Ptxq/IndexAdmin/add_pzsx')}" method="post" class="form-horizontal J_ajaxForms" enctype="multipart/form-data">
			<input type="hidden" name="jypz_id" id="jypz_id" value="{$jypz.id}" />
			<input type="hidden" name="id" id="id" value="{$jypzsx_id.id}" />
			<div class="col-auto" >
				<div class="table_full">
					<table class="table table-bordered"  style="width: 100%;">
						<tr>
							<td colspan="2" style="color: red;font-size: 16px;font-weight: 800;">
								修改属性
							</td>
						</tr>
						<tr>
							<th width="90">品种属性 </th>
							<td>
								<input type="text" style="width:400px;" name="sx_mc" id="sx_mc" required value="{$jypzsx_id.sx_mc}" style="color:" class="input input_hd J_title_color"  onkeyup="strlen_verify(this, 'title_len', 160)" />
								
								<span class="must_red">*</span>
							</td>
						</tr>
						
					
						</tbody>
					</table>
				</div>
			</div>
			<div class="form-actions">
				<button class="btn btn-primary btn_submit J_ajax_submit_btn" type="submit">提交</button>
				<a class="btn" href="javascript:history.go(-1);">返回</a>
			</div>
		</form>
		</div>
		
	</div>
	<script type="text/javascript" src="__ROOT__/public/js/common.js"></script>
	<script type="text/javascript" src="__ROOT__/public/js/content_addtop.js"></script>
	
</body>
</html>